import Vue from 'vue'
import Router from 'vue-router'
import HomePage from '../page/home/index'
import ItemPage from '../page/item/index'
import ScorePage from '../page/score/index'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HomePage',
      component: HomePage
    },
    {
      path: '/item',
      name: 'ItemPage',
      component: ItemPage
    },
    {
      path: '/score',
      name: 'ScorePage',
      component: ScorePage
    },
  ]
})
